package com.haoxuer.discover.notice.data.service;

import com.haoxuer.discover.notice.data.entity.UserMessageSubject;
import com.haoxuer.discover.data.page.Filter;
import com.haoxuer.discover.data.page.Order;
import com.haoxuer.discover.data.page.Page;
import com.haoxuer.discover.data.page.Pageable;

import java.util.List;

/**
 * Created by imake on 2018年01月02日11:12:13.
 */
public interface UserMessageSubjectService {
  
  UserMessageSubject findById(Long id);
  
  UserMessageSubject save(UserMessageSubject bean);
  
  UserMessageSubject update(UserMessageSubject bean);
  
  UserMessageSubject deleteById(Long id);
  
  UserMessageSubject[] deleteByIds(Long[] ids);
  
  Page<UserMessageSubject> page(Pageable pageable);
  
  Page<UserMessageSubject> page(Pageable pageable, Object search);
  
  
  List<UserMessageSubject> list(int first, Integer size, List<Filter> filters, List<Order> orders);
  
}